package com.org.entity.sys;

import com.org.entity.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@Table(name = "SYS_ROLE_MENU_AUTH")
public class SysRoleMenuAuth extends BaseEntity {

    /**
     * 角色Id
     */
    @Column(name = "FK_ROLE_ID")
    private String fkRoleId;

    /**
     * 菜单Id
     */
    @Column(name = "FK_MENU_ID")
    private String fkMenuId;

    /**
     * 角色名称
     */
    @Transient
    private String roleName;

    /**
     * 菜单名称
     */
    @Transient
    private String menuName;

    /**
     * 菜单状态
     */
    @Transient
    private int state;

    /**
     * 图标
     */
    @Transient
    private String icon;

    /**
     * icon
     */
    @Transient
    private int hasIcon;

    /**
     * 菜单url
     */
    @Transient
    private String url;

    /**
     * 排序
     */
    @Transient
    private int sort;

    /**
     * 父节点ID
     */
    @Transient
    private String pid;

    /**
     * 系统名称
     */
    @Transient
    private String menuSystemName;

}
